package com.example.conf.teea;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author wpdcn
 * @since 2020-01-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_complaint")
@ApiModel
public class SysComplaintEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @Column(comment = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 客户id
     */
    @Column(comment = "客户id")
    private String memberId;

    /**
     * 账户id
     */
    @Column(comment = "账户id")
    private Long accountId;

    /**
     * 投诉标题
     */
    @Column(comment = "投诉标题")
    private String title;

    /**
     * 客户手机号
     */
    @Column(comment = "客户手机号")
    private String mobile;

    /**
     * 客户姓名
     */
    @Column(comment = "客户姓名")
    private String name;

    /**
     * 投诉内容
     */
    @Column(comment = "投诉内容")
    private String content;

    /**
     * 回复
     */
    @Column(comment = "回复")
    @ApiModelProperty("回复")
    private String reply;

    @Column(comment = "删除人")
    private String dealBy;


    @Column(comment = "删除时间")
    private LocalDateTime dealTime;

    /**
     * 投诉时间
     */
    @Column(comment = "投诉时间")
    private LocalDateTime createTime;


}
